package suncertify.contractors.exceptions;

/**
 * Thrown when a contractor update fails.
 * 
 */
public class ContractorUpdateException extends Exception {

    /**
     * Automatically generated serialization ID
     */
    private static final long serialVersionUID = 3477440482288453668L;

    /**
     * Constructs the class using the cause of the exception.
     * 
     * @param cause
     *            The cause (which is saved for later retrieval by the {@link #getCause()} method). (A null value is
     *            permitted, and indicates that the cause is nonexistent or unknown.)
     */
    public ContractorUpdateException(Throwable cause) {

	super(cause);
    }

    /**
     * Constructs the class with a message and a cause.
     * 
     * @param message
     *            The detail message (which is saved for later retrieval by the {@link #getMessage()} method)
     * @param cause
     *            The cause (which is saved for later retrieval by the {@link #getCause()} method). (A null value is
     *            permitted, and indicates that the cause is nonexistent or unknown.)
     */
    public ContractorUpdateException(String message, Throwable cause) {

	super(message, cause);
    }
}
